* {
    font-family: 'Fira Code';
}

html {
    width: 100%;
    height: 100%;
}

body {
    margin: 0px;
    width: 100%;
    height: 100%;
    display: flex;
}

.panel {
    background-color: #00000000;
}

#contacts {
    display: flex;
    flex-direction: column;
    flex-shrink: 1;
}

.contact-label {
    flex-shrink: 1;
    color: #fff;
    border-radius: 0px;
    height: 48px;
    width: 48px;
}
.contact-label:hover {
    background-color: #33448020;
}

#chatroom-info {
    flex-grow: 1;
    flex-shrink: 1;
    background-color: #33448030;
    flex-direction: column;
}

#chatroom-info-cover {
    flex-shrink: 1;
    border: 0px;
}

#chatroom-info-name {
    flex-shrink: 1 ;
    border: 0px;
    color: #ccc;
}

#chatting {
    flex-shrink: 1;
    flex-grow: 1;
    background-color: #000;
    display: flex;
    flex-direction: column;
}

#chatting-title {
    height: 50px;
}

#chatting-title span{
    color: #fff;
    text-align: center;
    display: block;
    padding-top: 10px;
}

#chatting-display {
    flex-grow: 5;
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow: auto;
}

.message {
    background-color: #000;
    display: flex;
    padding: 5px;
}

.message[host] {
    flex-direction: row-reverse;
}
.message[host] .message-frame .message-content {
    align-self: flex-end;
}

.message-chat-heads {
    border-radius: 100%;
    background-color: #fff;
    width: 32px;
    height: 32px;
}

.message-frame {
    padding: 0px 5px 0px 5px;
    display: flex;
    flex-direction: column;
}
.message-sender-name {
    display: flex;
    cursor: pointer;
}

.message-sender-displayname {
    flex-grow: 1;
    color: #fff;
    text-align: end;
    font-size: 12px;
}

.message-sender-tag {
    margin: 0px 3px 0px 3px;
    border-radius: 2px;
    background-color: #333;
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 2px;
}

.message-content {
    display: block;
    border-radius: 5px;
    background-color: #fff;
    padding: 5px;
    margin-top: 3px;
    overflow-wrap: break-word;
    min-width: 16px;
    min-height: 16px;
    width: min-content;
}

#chatting-writing {
    flex-grow: 2;
    display: flex;
    flex-direction: column;
}

#chatting-writing-functions {
    height: 32px;
}

#chatting-writing-textarea {
    display: block;
    height: 100%;
    background-color: #000;
    border: 0px;
    caret-color: #fff;
    color: #ccc;
    font-size: 15px;
    padding: 0px 10px 0px 10px;
    resize: none;
}

#chatting-writing-textarea:focus {
    outline: 0px;
}

#chatting-writing-send-btn {
    cursor: pointer;
    border: 0px;
    padding: 10px;
    background-color: #08f;
    width: fit-content;
    margin: 0px 100px 50px 0px;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    border-radius: 5px;
    align-self: flex-end;
}

#chatroom-info-backbtn {
    background-color: #00000000;
    color: #ddd;
    width: 32px;
    height: 32px;
    border: 0px;
}